package com.myblog.service;

import com.myblog.utils.DataMap;

public interface LeaveService {
    /**
     * 分页获取留言
     * @param rows
     * @param pageNum
     * @return
     */
    DataMap getNewLeave(Integer rows, Integer pageNum);

    DataMap getLeaveByPageName(String pageName,String userName);

    DataMap publishLeaveMessage(String leaveMessageContent, String pageName, int answerId);

    DataMap ReplyLeaveMessage(String leaveMessageContent, String pageName, int answerId, String pIdString, String respondentName);

    DataMap getUserLeaveWord(Integer rows, Integer pageNum, Integer userId);

    DataMap setAllLeaveIsRead(Integer respondentId);
}
